/**
 * Created by madi on 2018/8/14.
 */

//商户目录
const menu = [
    {
        id: '1',
        icon: 'laptop',
        name: '工作任务',
        route: '/home',
    },
    {
        id: '1001',
        bpid: '1',
        icon: 'laptop',
        name: '任务详情',
        route: '/home_list',
        none:true,
    },
    //系统管理
    {
        id: '34',
        icon: 'team',
        name: '系统管理',
    },
    {
        id: '340',
        bpid: '1',
        mpid: '34',
        icon: 'share-alt',
        name: '工作流管理',
        route: '/System_account_working',
    },
    {
        id: '35',
        bpid: '1',
        mpid: '34',
        icon: 'user',
        name: '系统账户',
        route: '/System_account',
    },
    {
        id: '36',
        bpid: '1',
        mpid: '34',
        icon: 'key',
        name: '下发通知',
        route: '/Privilege_management',
    },
    {
        id: '360',
        bpid: '36',
        icon: 'key',
        name: '公告详情',
        route: '/Privilege_management_list',
        none:true,
    },
    //通讯录管理
    {
        id: '2',
        icon: 'contacts',
        name: '通讯录管理',
    },
    {
        id: '2-1',
        bpid: '1',
        mpid: '2',
        icon: 'user',
        name: '人员通讯录管理',
        route: '/organization',
    },
    // {
    //     id: '4',
    //     bpid: '1',
    //     mpid: '2',
    //     icon: 'user',
    //     name: '人员通讯录管理',
    //     route: '/Maillist',
    // },
    {
        id: '2-2',
        bpid: '1',
        mpid: '2',
        icon: 'user',
        name: '外部通讯录管理',
        route: '/Parameter',
    },
    {
        id: '2-3',
        bpid: '1',
        mpid: '2',
        icon: 'wallet',
        name: '离职员工',
        route: '/user/leave',
    },
    //预案演练管理
    {
        id: '5',
        icon: 'flag',
        name: '预案演练管理',
    },
    {
        id: '6',
        bpid: '1',
        mpid: '5',
        icon: 'calendar',
        name: '演练计划管理',
        route: '/Rehearsalplan',
    },
    {
        id: '7',
        bpid: '1',
        mpid: '5',
        icon: 'book',
        name: '演练资料管理',
        route: '/Learningplan',
    },
    {
        id: '70',
        bpid: '7',
        icon: 'book',
        name: '演练资料管理详情',
        route: '/Learningplan_list',
        none:true,
    },
    {
        id: '37',
        bpid: '1',
        mpid: '5',
        icon: 'code',
        name: '演练现场记录表',
        route: '/categorymanagement',
    },
    {
        id: '370',
        bpid: '37',
        icon: 'code',
        name: '演练现场记录表操作',
        route: '/categorymanagement_list',
        none:true,
    },
    //应急法规学习
    {
        id: '8',
        icon: 'exception',
        name: '应急法规学习',
    },
    {
        id: '30',
        bpid: '1',
        mpid: '8',
        icon: 'wallet',
        name: '法规制度',
        route: '/Lawlearningfa',
    },
    {
        id: '31',
        bpid: '1',
        mpid: '8',
        icon: 'wallet',
        name: '应急科普',
        route: '/Lawlearningying',
    },
    {
        id: '32',
        bpid: '1',
        mpid: '8',
        icon: 'wallet',
        name: '灾难警示',
        route: '/Lawlearningzai',
    },
    {
        id: '33',
        bpid: '1',
        mpid: '8',
        icon: 'wallet',
        name: '应急预案',
        route: '/Lawlearningan',
    },
    {
        id: '331',
        bpid: '1',
        mpid: '8',
        icon: 'wallet',
        name: '应急处置卡',
        route: '/LawlearninganK',
    },
    //应急物资管理
    {
        id: '9',
        icon: 'inbox',
        name: '应急物资管理',
    },
    {
        id: '38',
        bpid: '1',
        mpid: '9',
        icon: 'bars',
        name: '应急物资信息',
        route: '/AllEmergencysupplies',
    },
    {
        id: '103',
        bpid: '38',
        icon: 'bars',
        name: '应急物资信息详情',
        route: '/AllEmergencysupplies_list',
        none:true,
    },
    {
        id: '10',
        bpid: '1',
        mpid: '9',
        icon: 'bars',
        name: '应急物资基本信息',
        route: '/Emergencysupplies',
    },
    {
        id: '101',
        bpid: '10',
        icon: 'bars',
        name: '应急物资基本信息详情',
        route: '/Emergencysupplies_list',
        none:true,
    },
    {
        id: '11',
        bpid: '1',
        mpid: '9',
        icon: 'environment',
        name: '库存地点管理',
        route: '/Placeofstorage',
    },
    {
        id: '39',
        bpid: '1',
        mpid: '9',
        icon: 'environment',
        name: '物资巡查记录统计',
        route: '/Materialinspection',
    },
    //应急预案管理
    {
        id: '12',
        icon: 'appstore',
        name: '应急预案管理',
    },
    {
        id: '13',
        bpid: '1',
        mpid: '12',
        icon: 'file-text',
        name: '预案管理',
        route: '/Emergencyplan',
    },
    {
        id: '130',
        bpid: '13',
        icon: 'file-text',
        name: '预案管理详情',
        route: '/Emergencyplan_list',
        none:true,
    },
    {
        id: '14',
        bpid: '1',
        mpid: '12',
        icon: 'home',
        name: '应急疏散场所管理',
        route: '/Evacuate',
    },
    {
        id: '15',
        bpid: '1',
        mpid: '12',
        icon: 'warning',
        name: '威胁隐患统计',
        route: '/management',
    },
    // {
    //     id: '17',
    //     bpid: '1',
    //     mpid: '12',
    //     icon: 'code',
    //     name: '疏散对象管理',
    //     route: '/Warninglevelsetting',
    // },
    //巡检管理
    {
        id: '18',
        icon: 'schedule',
        name: '巡检管理',
    },
    {
        id: '19',
        bpid: '1',
        mpid: '18',
        icon: 'solution',
        name: '巡检记录',
        route: '/Production',
    },
    {
        id: '190',
        bpid: '19',
        icon: 'solution',
        name: '巡检记录详情',
        route: '/Production_list',
        none:true,
    },
    {
        id: '20',
        bpid: '1',
        mpid: '18',
        icon: 'share-alt',
        name: '检查项目分类目录',
        route: '/inspection',
    },
    {
        id: '21',
        bpid: '1',
        mpid: '18',
        icon: 'tags',
        name: '检查项目',
        route: '/Inspectionproject',
    },
    {
        id: '210',
        bpid: '21',
        icon: 'tags',
        name: '操作检查项目',
        route: '/Inspectionproject_list_option',
        none:true,
    },
    {
        id: '210',
        bpid: '21',
        icon: 'tags',
        name: '操作检查项目',
        route: '/Inspectionproject_list',
        none:true,
    },
    {
        id: '22',
        bpid: '1',
        mpid: '18',
        icon: 'shop',
        name: '巡检点',
        route: '/checkpoint',
    },
    {
        id: '100',
        bpid: '22',
        icon: 'shop',
        name: '巡检点操作',
        route: '/checkpoint_list',
        none:true,
    },
    {
        id: '23',
        bpid: '1',
        mpid: '18',
        icon: 'car',
        name: '巡检路线',
        route: '/pointroad',
    },
    {
        id: '24',
        bpid: '1',
        mpid: '18',
        icon: 'ellipsis',
        name: '巡检计划',
        route: '/ponitplan',
    },
    {
        id: '25',
        bpid: '1',
        mpid: '18',
        icon: 'bar-chart',
        name: '查询统计',
    },
    {
        id: '26',
        bpid: '25',
        mpid: '25',
        icon: 'share-alt',
        name: '巡检计划统计分析',
        route: '/pointplanVale',
    },
    {
        id: '27',
        bpid: '25',
        mpid: '25',
        icon: 'share-alt',
        name: '巡检点统计分析',
        route: '/pointroadVale',
    },
    {
        id: '28',
        bpid: '1',
        icon: 'copy',
        name: '值班管理',
        route: '/dutymanagement',
    },
    {
        id: '100',
        icon: 'wallet',
        name: '学习报表',
    },
    {
        id: '100-1',
        bpid: '100',
        mpid: '100',
        icon: 'wallet',
        name: '积分报表',
        route: '/task/integral/forms',
    },
    {
        id: '100-2',
        bpid: '100',
        mpid: '100',
        icon: 'wallet',
        name: '答题报表',
        route: '/task/exam/forms',
    },
];
export { menu };
